package cn.ivicar.iov.dao;

import cn.ivicar.iov.entity.SimPresentFlowInfo;
import org.springframework.stereotype.Repository;

import java.util.Date;
import java.util.List;

/**
 * @author wenjun
 * @Description
 * @date 2018/8/21 9:50
 */
@Repository
public interface SimPresentFlowInfoDao {
    int updateSimPresentFlowInfo(SimPresentFlowInfo simPresentFlowInfo);//更新卡的套餐信息
    int upadateDeadLine(String iccid, Date date);//更新当前套餐的截止时间
    int updateRenewStatus();//更新为续费期状态
    int updateCancelStatus();//更新为注销状态
    int updateNormalStatus();//更新为正常状态
    List queryRenewCustomer();//查询续费期用户client_id
    int insertVehicleSimInfo(SimPresentFlowInfo simPresentFlowInfo);//通过车机端传来的iccid等信息插入卡信息
    List queryProbationCustomer();//查询体验期用户client_id
    List queryIccidStatus();//查询所有用户iccid和卡状态
    int updateProbationStatus();//更新体验期为正常状态
}
